package com.psm.ui.helper;

import java.io.File;

import javax.swing.filechooser.FileFilter;

public class PDFFileFilter extends FileFilter
{
    @Override
    public boolean accept(File f)
    {
	return f.isDirectory() || f.getName().toLowerCase().endsWith(".pdf");
    }

    @Override
    public String getDescription()
    {
	return "PDF files";
    }
}